package com.gkt.ec.cms.activity.service;

import java.util.List;

import com.github.pagehelper.PageInfo;
import com.gkt.ec.cms.activity.model.domain.CustomerActivityEntity;
import com.gkt.ec.cms.activity.model.domain.CustomerVehicle;
import com.gkt.ec.cms.activity.model.domain.CustomerVehicleEntity;
import com.gkt.ec.cms.activity.model.pojo.SearchCustomerVO;
import com.gkt.ec.commons.persistence.entity.search.CouponSearch;

/**
 * Created by 14081593 on 2015/11/28.
 */
public interface CustomerVehicleService {

	PageInfo<CustomerVehicle> queryByPage(SearchCustomerVO vo,int offset,int max);

    /**
     * 查询用户车型列表
     * @return
     */
    public List queryVehicleBrand();

    /**
     * 查询已绑定的用户id列表
     * @param activityId
     * @return
     */
    public List queryBindCustomers(Long activityId);

    /**
     * 查找活动对象
     * @param searchCondition
     * @param offset
     * @param max
     * @return
     */
    public PageInfo<CustomerVehicleEntity> queryAll(SearchCustomerVO searchCondition,int offset,int max);

    /**
     * 查找参与活动的用户列表
     * @param searchCondition
     * @param offset
     * @param max
     * @return
     */
    public PageInfo<CustomerActivityEntity> queryActivityCustomer(SearchCustomerVO searchCondition,int offset,int max);

	PageInfo<CustomerVehicle> queryBindByPage(CouponSearch searchCondition,
			int off, int max);

}
